<?php
/**
 * Created by PhpStorm.
 * User: huanglinjie
 * Date: 2019/1/17
 * Time: 2:44 PM
 */

namespace app\index\controller;

use think\Controller;
use think\Request;

class Base extends Controller {

    public $appData = [];
    public $data = [];
    public $version = [];

    public function _initialize() {
        $request = Request::instance();
        $this->data = json_decode($request->getInput(), true);
        $this->appData = $this->data['appData'];
    }

}